#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <limits.h>
#include <unistd.h>

int main(void) {
    
    char path[PATH_MAX] = "\0";
    daemon(1,1);
    getcwd(path, PATH_MAX);
    printf("%ld\n", sysconf(_PC_PATH_MAX));
    printf("%d\n", PATH_MAX);
    printf("%s\n", path);
    return 0;
}
